package com.heima.behavior.service;

import com.heima.model.behavior.dtos.LikeBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.behavior.dtos.UnlikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;

public interface BehaviorService {

    /**
     *用户点赞/取消点赞
     * @param dto
     * @return
     */
    ResponseResult likesBehavior(LikeBehaviorDto dto);

    /**
     * 用户阅读
     * @param dto
     * @return
     */
    ResponseResult readBehavior(ReadBehaviorDto dto);

    /**
     * 不喜欢/取消不喜欢
     * @param dto
     * @return
     */
    ResponseResult unlikesBehavior(UnlikesBehaviorDto dto);

}
